console.log(fun);

function fun() {}
if (false) {
	function fun2() {}
	// 相当于var fun2=function () {}
}
console.log(fun2);

console.log('----------------------------');
console.log(name);
var name = 'dog'
if (false) {
	var age = 19
}
console.log(age)

console.log('----------------------------');
console.log(a);
var a = 'fffff'

function a() {}
console.log(a);


// console.log('----------------------------');
// let obj = {
// 	name: 'cat',
// 	age: 19,
// 	gender: 'male'
// }
// for (let [key, value] of obj) {
// 	console.log(key, value);//TypeError: obj is not iterable
// }

console.log('--------------------------------');
